package com.woniuxy.stage3demo.bean.chenyuxuanBean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 员工实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
/**
 * 解决mybatis级联查询时出现 异常 No serializer found for class异常问题解决
 */
@JsonIgnoreProperties(value = {"handler"})
public class StaffBean implements Serializable {

    private long id;
    private String loginName;
    private String password;
    private String name;

    /**
     * 性别
     */
    private long gender;
    private String telphone;
    private String email;
    /**
     * 所属部门
     */
    private DeptBean deptBean;
    private String position;
    /**
     * 工号
     */
    private String stuffNum;
    private String address;

    /**
     * 毕业院校
     */
    private String graduateSchool;
    private Date graduateTime;
    /**
     * 学历
     */
    private long topEdu;

    /**
     * 专业
     */
    private String major;

    /**
     * 备注
     */
    private String note;
    private Date createTime;

    /**
     * 是否启用1启用0关闭
     */
    private long useStatus;

    /**
     * 上次登录时间
     */
    private Date lastLoginTime;
    private long delFlag;


}
